package com.showcal.service.domain;

import java.util.Map;

public class Message {
	//消息id
	private Long messageId;
    
	//会话 id
    private String conversationId;
    
    //用户id,发送者
    private Long openId;
    
    //消息发送时间
    private String createdAt;
    
    //消息内通
    private MessageContent content;
    
    //自定义扩展字段
    private Map<String, String> extension;
    
    //消息tag
    private Long tag; 

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getConversationId() {
        return conversationId;
    }

    public void setConversationId(String conversationId) {
        this.conversationId = conversationId;
    }

    public Long getOpenId() {
        return openId;
    }

    public void setOpenId(Long openId) {
        this.openId = openId;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public MessageContent getContent() {
        return content;
    }

    public void setContent(MessageContent content) {
        this.content = content;
    }

    public Map<String, String> getExtension() {
        return extension;
    }

    public void setExtension(Map<String, String> extension) {
        this.extension = extension;
    }

    public Long getTag() {
        return tag;
    }

    public void setTag(Long tag) {
        this.tag = tag;
    }
}
